package com.studentachievement.beans;

public class Score {
    private int scoreId;
    private int studentId;
    private int courseId;
    private double score;
    private String examDate;

    private String courseName; // 非数据库字段
    private String studentName;
    // Getters and Setters

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public int getScoreId() {
        return scoreId;
    }

    public void setScoreId(int scoreId) {
        this.scoreId = scoreId;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public int getCourseId() {
        return courseId;
    }

    public void setCourseId(int courseId) {
        this.courseId = courseId;
    }

    public double getScore() {
        return score;
    }

    public void setScore(double score) {
        this.score = score;
    }

    public String getExamDate() {
        return examDate;
    }

    public void setExamDate(String examDate) {
        this.examDate = examDate;
    }

    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }
    public void print(){
        System.out.println("scoreId:"+scoreId + " studentId:"+studentId + " courseId:"+courseId + " score:"+score + " examDate:"+examDate + " courseName:"+courseName);
    }
    public String string(){
        return "scoreId:"+scoreId + " studentId:"+studentId + " courseId:"+courseId + " score:"+score + " examDate:"+examDate + " courseName:"+courseName;
    }
}
